<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>丹露-Matrix新增配置</title>
	<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
	<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
	<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
	<link rel="stylesheet" type="text/css" href="css/matrixcss.css" />
	<link rel="stylesheet" type="text/css" href="css/indexMatrix.css" />
	<script src="js/index.js"></script>
	<script src="js/indexMatrix.js"></script>
	<script src="layer/layer.js"></script>
	<!--<script src="layer/layer.js"></script>-->
</head>
<body>
<div class="container" style="width:100%;height:auto">
	<div class="row" style="background-color:#4F94CD">
		<div class="col-lg-12">
			<h3 class="text-left" style="color:white">
				丹露-Matrix新增配置
			</h3>
		</div>
	</div>
	<div class="row">
		<div class="col-lg-12 column">

			<div class="tab" id="tabs-68154" style="margin-top:10px" >
					<ul class="nav nav-tabs">
						<li class="active">
							 <a href="#autoupdate" data-toggle="tab" >Matrix自动写入配置</a>
						</li>
						<li >
							 <a href="#backupversion" data-toggle="tab">Matrix备份版本配置</a>
						</li >
						<!--<li >-->
							 <!--<a href="#automerge" data-toggle="tab" id="envli">Matrix合并版本配置</a>-->
						<!--</li>-->
						<li style="float:right">
							 <a type="button" href="http://matrix.test.idanlu.com" class="btn">返回</a>
						</li>
						
					</ul>


				<div class="tab-content">

                    <div id="autoupdate" class="tab-pane active" style="margin-top:10px">
						<div class="panel panel-info" style="width:50%">
							<div class="panel-heading">
								<h3 class="panel-title"><span class="glyphicon glyphicon-pencil"></span>&nbsp;Matrix自动写入配置</h3>
							</div>
							<div class="panel-body">
								<form id="autoWriteForm" action="/submit_data/" method="post" onsubmit="return autoWrite();">
									<div>
										<table style="border-collapse:separate; border-spacing:0px 30px;width:100%">
											<tr>
												<td width="20%"><span class="tip" style="font-family:微软雅黑;font-size:20px" >select Env:</span></td>
												<td width="80%"><select  class='branchSel' id="envName" name="env_name" style="width:60%;font-family:微软雅黑;font-size:15px">
														<option>--请选择要执行的环境--</option>
														<option  value = "vpc_web" >web测试环境</option >
														<option  value = "vpc_app" >app测试环境</option >
														<option  value = "hx" >hx测试环境</option >
													</select >
												</td>
											</tr>
											<tr>
												<td width="20%"><span class="tip" style="font-family:微软雅黑;font-size:20px">select Branch:</span></td>
												<td><select  class='branchSel' id="branchName" name="branch_name" onchange="getfileName(this.value)" style="width:60%;font-family:微软雅黑;font-size:15px">
														<option>--请选择版本名称--</option>
													</select>
												</td>
											</tr>
											<tr>
												<td width="20%"><span class="tip" style="font-family:微软雅黑;font-size:20px">select Filename:</span></td>
												<td><select class='branchSel' id="fileName" name="file_name" style="width:60%;font-family:微软雅黑;font-size:15px" onchange="checkfile()">
														<option>--请选择要执行自动配置的文件名--</option>
													</select>
												</td>
											</tr>
							
										</table>
									</div>
									<div class="tab-pane">
										<input type="submit" class="btn" style="background-color:#4F94CD;color:white;margin-left:21%;margin-top:30px;width:20%" value="提交">
										<input type="submit" class="btn" style="background-color:#4F94CD;color:white;margin-top:30px;width:20%;margin-left:40px;" value="取消">
										
									</div>
								</form>
							</div>
						</div>
                        
                    </div>

                    <div class="tab-pane" id="backupversion">
						<div class="panel panel-info" style="width:50%">
							<div class="panel-heading">
								<h3 class="panel-title"><span class="glyphicon glyphicon-copy"></span>&nbsp;Matrix备份版本配置</h3>
							</div>
							<div class="panel-body">
								<form id="autoCopyForm" action="/submit_backup/" method="post" onsubmit="return autoCopy();">
									<div>
										<table style="border-collapse:separate; border-spacing:0px 30px;width:100%">
											<tr>
												<td width="20%"><span class="tip" style="font-family:微软雅黑;font-size:20px" >select Env:</span></td>
												<td width="80%"><select  class='branchSel' id="envName2" name="env_name2" style="width:60%;font-family:微软雅黑;font-size:15px">
														<option>--请选择版本所在的环境--</option>
														<option  value = "vpc_web" >web测试环境</option >
														<option  value = "vpc_app" >app测试环境</option >
														<option  value = "hx" >hx测试环境</option >
													</select >
												</td>
											</tr>
											<tr>
												<td width="20%"><span class="tip" style="font-family:微软雅黑;font-size:20px">select Branch:</span></td>
												<td><select  class='branchSel' id="branchName2" name="branch_name2" style="width:60%;font-family:微软雅黑;font-size:15px">
														<option>--请选择需要备份的版本--</option>
													</select>
												</td>
											</tr>
							
										</table>
									</div>
									<div class="tab-pane">
										<input type="submit" class="btn" style="background-color:#4F94CD;color:white;margin-left:21%;margin-top:30px;width:20%" value="提交">
										<input type="submit" class="btn" style="background-color:#4F94CD;color:white;margin-top:30px;width:20%;margin-left:40px;" value="取消">
										
									</div>
								</form>
							</div>
						</div>
                    </div>

					<!--<div class="tab-pane" id="automerge">-->
                        <!--<form action="/submit_merge/" method="post">-->
                            <!--<div class="sub2-item">-->
                                <!--<span class="tip">选择从哪个分支:</span>-->
                                    <!--<select  class='branchSel' id="branchName3" name="branch_name3">-->
                                        <!--<option>&#45;&#45;请选择需要备份的版本&#45;&#45;</option>-->
                                    <!--</select>-->
                            <!--</div>-->

                            <!--<div class="sub2-item">-->
                                <!--<span class="tip">选择哪个文件:</span>-->
                                    <!--<select  class='branchSel' id="envName3" name="env_name3">-->
                                        <!--<option>&#45;&#45;请选择源环境&#45;&#45;</option>-->
                                        <!--<option  value = "vpc_web" >web测试环境</option >-->
                                        <!--<option  value = "vpc_app" >app测试环境</option >-->
                                        <!--<option  value = "hx" >hx测试环境</option >-->
                                    <!--</select >-->
                            <!--</div>-->

                            <!--<div class="sub2-item">-->
                                <!--<span class="tip">更新到哪个环境:</span>-->
                                    <!--<select  class='branchSel' id="branchName3" name="branch_name3">-->
                                        <!--<option>&#45;&#45;请选择需要备份的版本&#45;&#45;</option>-->
                                    <!--</select>-->
                            <!--</div>-->

                            <!--<div class="tab-pane">-->
                                <!--<input type="submit" class="btn" style="background-color:#4F94CD;color:white" value="提交">-->
                                <!--<a type="button" href="http://matrix.test.idanlu.com" class="btn">返回</a>-->
                            <!--</div>-->
                        <!--</form>-->

					<!--</div>-->
				</div>
			</div>
		</div>
	</div>
</div>



</body>
</html>